{template 'common/header'}

<div class="main">
    <ul class="nav nav-tabs">
        <li ><a href="{php echo $this->createWebUrl('kjManage');}">活动管理</a></li>

        <li > <a href="{php echo $this->createWebUrl('joinUser',array('kid'=>$kid));}">参加用户管理</a></li>

        <li > <a href="{php echo $this->createWebUrl('orderList',array('kid'=>$kid));}">订单管理</a></li>

        <li class="active" > <a href="{php echo $this->createWebUrl('OrderDetail',array('kid'=>$kid,'oid'=>$oid));}">订单详情</a></li>
    </ul>

    <div class="panel panel-default">
        <div class="table-responsive panel-body">
    <table class="table table-bordered">
        <tbody>
        <tr>
            <th>订单编号</th>
            <td colspan="5">{$order['order_no']}</td>
        </tr>

        <tr>
            <th>微信支付单号</th>
            <td colspan="5">{$order['wxorder_no']}</td>
        </tr>

        <tr>
            <th>用户openid</th>
            <td colspan="5">{$order['openid']}</td>
        </tr>

        <tr>
            <th>商品名称</th>

            <td colspan="5" >{$wkj['p_name']}</td>

        </tr>
        <tr>
            <th>款式</th>

            <td colspan="5" >{$order['p_model']}</td>

        </tr>

        <tr>
            <th>收货人</th>
            <td>{$order['uname']}</td>
            <th>手机号</td>
            <td>{$order['tel']}</td>
            <th>地址</th>
            <td>{$order['address']}</td>
        </tr>


        <tr>
            <th>商品原价</th>
            <td>{$order['y_price']}</td>
            <th>砍后金额</td>
            <td>{$order['kh_price']}</td>
            <th>运费</th>
            <td>{$order['yf_price']}</td>
        </tr>
        <tr>
            <th>支付金额</td>
            <td colspan="3">{$order['total_price']}</td>
        </tr>

        <tr>
            <th>状态</th>
            <td>{php echo $this->getStatusText($order['status'])}</td>
            <th>下单时间</th>
            <td>{php echo date("Y-m-d H:i",$order['createtime'])}</td>
            <th>支付时间</td>
            <td>{if $order['notifytime']}{php echo date("Y-m-d H:i",$order['notifytime'])}{/if}</td>
        </tr>

        </tbody>
    </table>
</div>
     </div>

</div>


{template 'common/footer'}